package com.avic.map.dal.mapper;

import com.avic.map.dal.model.MapTagging;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 地图标注
 *
 * @Author huangsheng on 2018/12/22
 */
@Mapper
public interface MapTaggingMapper {

    List<MapTagging> wrongUavRecords(int uavTagging);

    List<MapTagging> uavRecords(int uavTagging);

    int insert(MapTagging mapTagging);

    int update(MapTagging mapTagging);

    int delete(int id);

    int clear();

    int checkUavMapTagging(@Param("taggingType") int taggingType, @Param("uavId") int uavId);
}
